<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of NotaIndividual
 *
 * @author carlos
 */
class NotaIndividual implements InterfazDatos
{
    private $idNotaIndividual,$idSubParcial,$nombre,$porcentajeNota,$descripcion;
    
    function __construct($idNotaIndividual, $idSubParcial, $nombre, $porcentajeNota, $descripcion) {
        $this->idNotaIndividual = $idNotaIndividual;
        $this->idSubParcial = $idSubParcial;
        $this->nombre = $nombre;
        $this->porcentajeNota = $porcentajeNota;
        $this->descripcion = $descripcion;
    }

    
    
    public function getDatos() 
    {
        $datos[0][0] = "idNotaIndividual";          $datos[0][1] = $this->idNotaIndividual;
        $datos[1][0] = "idSubParcial";    $datos[1][1] = $this->idSubParcial;        
        $datos[2][0] = "nombre";           $datos[2][1] = $this->nombre;
        $datos[3][0] = "porcentajeNota";         $datos[3][1] = $this->porcentajeNota;
        $datos[4][0] = "descripcion";          $datos[4][1] = $this->descripcion;
                
        return $datos;
    }

    public function getTabla()
    {
        return "NOTAINDIVIDUAL";
    }

//put your code here
}
